package com.skeleton.db.dto;

import com.skeleton.common.base.dto.BaseDto;
import com.skeleton.db.entity.BlogTag;

public class BlogTagDto extends BaseDto {

	private int tagId;
	private String tagname;
	private char tagType;
	private int tagUseCnt;
	private char tagStatus;
	private int tagSeq;

	public BlogTag toEntity() {
		BlogTag entity = new BlogTag();
		entity.setTag_id(tagId);
		entity.setTagname(tagname);
		entity.setType(tagType);
		entity.setUse_cnt(tagUseCnt);
		entity.setStatus(tagStatus);
		entity.setSeq(tagSeq);
		return entity;
	}

	public int getTagId() {
		return tagId;
	}

	public void setTagId(int tagId) {
		this.tagId = tagId;
	}

	public String getTagname() {
		return tagname;
	}

	public void setTagname(String tagname) {
		this.tagname = tagname;
	}

	public char getTagType() {
		return tagType;
	}

	public void setTagType(char tagType) {
		this.tagType = tagType;
	}

	public int getTagUseCnt() {
		return tagUseCnt;
	}

	public void setTagUseCnt(int tagUseCnt) {
		this.tagUseCnt = tagUseCnt;
	}

	public char getTagStatus() {
		return tagStatus;
	}

	public void setTagStatus(char tagStatus) {
		this.tagStatus = tagStatus;
	}

	public int getTagSeq() {
		return tagSeq;
	}

	public void setTagSeq(int tagSeq) {
		this.tagSeq = tagSeq;
	}

}
